package curves;

import javax.swing.JTabbedPane;

public class CurveControlsUser extends CurveControls {
	private static final long serialVersionUID = 1L;
	
	private PanelAffichage panelAffichage;
	private PanelCalcul panelCalcul;

	
	CurveControlsUser(FunctionVariations var, CurveFrame f) {
		super(var, f);
		JTabbedPane onglets = new JTabbedPane();
		
		panelAffichage = new PanelAffichage(this,var, f);
		onglets.addTab("Affichage", null, panelAffichage, "Options d'affichage");
		
		
		panelCalcul = new PanelCalcul(var,f);		
		onglets.addTab("Calculs", null, panelCalcul, "Calcul de valeurs");
		
		this.add(onglets);
	}
	
	public PanelCalcul getPanelCalcul(){
		return panelCalcul;
	}
	
	Integer[] getNStepsChoices(){
		return nStepsChoices;
	}

}
